package org.jeecg.modules.farming.technology.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 科技咨询
 * @Author: jeecg-boot
 * @Date:   2020-12-14
 * @Version: V1.0
 */
@Data
@TableName("fa_technology_news")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="fa_technology_news对象", description="科技咨询")
public class TechnologyNews implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private java.lang.String title;
    /**作者*/
    @Excel(name = "作者", width = 15)
    @ApiModelProperty(value = "作者")
    private java.lang.String author;
    /**科技分类*/
    @Excel(name = "科技分类", width = 15, dicCode = "communication_type")
    @Dict(dicCode = "communication_type")
    @ApiModelProperty(value = "科技分类")
    private java.lang.Integer cateId;
    /**标题图片*/
    @Excel(name = "标题图片", width = 15)
    @ApiModelProperty(value = "标题图片")
    private java.lang.String imgUrl;
    /**附件名称*/
    @Excel(name = "附件名称", width = 15)
    @ApiModelProperty(value = "附件名称")
    private java.lang.String attachTitle;
    /**附件*/
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String attachment;
    /**内容*/
    @Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private java.lang.String content;
    /**联盟id*/
    @Excel(name = "联盟id", width = 15)
    @ApiModelProperty(value = "联盟id")
    private java.lang.String unionId;
    /**联盟名称*/
    @Excel(name = "联盟名称", width = 15)
    @ApiModelProperty(value = "联盟名称")
    private java.lang.String unionName;
    /**科技分类名称*/
    @Excel(name = "科技分类名称", width = 15)
    @ApiModelProperty(value = "科技分类名称")
    private java.lang.String cateName;
    /**阅读量*/
    @Excel(name = "阅读量", width = 15)
    @ApiModelProperty(value = "阅读量")
    private java.lang.Integer clickCount;
    /**是否点赞*/
    @Excel(name = "是否点赞", width = 15)
    @ApiModelProperty(value = "是否点赞")
    private java.lang.Integer isPraise;
    /**点赞次数*/
    @Excel(name = "点赞次数", width = 15)
    @ApiModelProperty(value = "点赞次数")
    private java.lang.Integer praiseCount;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    /**状态*/
    @Excel(name = "状态", width = 15, dicCode = "audit_status")
    @Dict(dicCode = "audit_status")
    @ApiModelProperty(value = "状态")
    private java.lang.Integer status;
    /**科技新闻咨询类型*/
    @Excel(name = "科技新闻咨询类型", width = 15)
    @ApiModelProperty(value = "科技新闻咨询类型")
    private java.lang.Integer typeId;
    /**驳回原因*/
    @Excel(name = "驳回原因", width = 15)
    @ApiModelProperty(value = "驳回原因")
    private String auditDesc;
}
